package proxy.zhss;

/**
 * @author zhangxi
 * @date 2021/10/27
 */
public class Proxy implements Subject{

    private Subject subject;

    public Proxy(Subject subject) {
        this.subject = subject;
    }

    public void request() {
        System.out.println("proxy 前置处理");
        subject.request();
    }
}
